package com.stagewebserver.webserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.stagecommon.common.pojo.DemandReceive;


public interface DemandReceiveMapper extends BaseMapper<DemandReceive> {
    int updateFilename(String filename, Integer demandId);

    int updatePayStatus(Byte status, Integer demandId);

    /**
     * 修改需求状态
     * @param status
     * @param demandId
     * @return
     */
    int updateDemandStatus(Byte status, Integer demandId);

    DemandReceive selectDemandReceiveById(Long demandId);
}
